home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / whttpd14.zip / CGI-DOS / DEMOSUBM.BAT < prev    next >
DOS Batch File  |  1994-04-29  |  669b  |  25 lines

  1. rem
  2. rem ****************
  3. rem * DEMOSUBM.BAT *
  4. rem ****************
  5. rem
  6. rem Script to support the Form-based order-entry in the demo
  7. rem
  8. rem Bob Denny <rdenny@netcom.com>
  9. rem 28-Apr-94
  10. rem
  11. set of=%output_file%
  12. echo Content-type:text/plain > %of%
  13. echo. >> %of%
  14. if NOT %REQUEST_METHOD%==POST goto done
  15. echo The following coded string contains your order-entry information. >> %of%
  16. echo In a real application, this would be decoded and given to an order >> %of%
  17. echo entry back-end, and a confirmation returned to you as hypertext. >> %of%
  18. echo. >> %of%
  19. echo Here is your order information: >> %of%
  20. echo. >> %of%
  21. type %CONTENT_FILE% >> %of%
  22. :done
  23.  
  24.  
  25.